<template>
  <view class="page1">
    <view class="content">
      <!-- 使用房子图标代替日历图标 -->
      <uni-icons type="home" size="100"></uni-icons>
      <view class="log-in">
        <text class="log-in-text">{{ logInText }}</text>
      </view>  
    </view>
    <view class="logInButton">
      <navigator url="/pages/Delivery/Delivery">
        <button type="default">进入</button>
      </navigator>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      logInText: '点击进入',
    };
  },
  onLoad() {
    // 页面加载时的逻辑
  },
  methods: {
    // 方法
  }
}
</script>

<style scoped>
.page1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* 使页面至少占满视口高度 */
  background-color: #f8f8f8;
  box-sizing: border-box; /* 包括padding和border在width和height内 */
  padding: 20px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1); /* 添加内边阴影 */
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.log-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.log-in-text {
  text-align: center;
  font-size: 20px;
  color: #ffaa00;
}
  
.logInButton {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}
</style>